import routerPlaceholder from '../../views/layout/router-placeholder.vue'

let routers = {
  path: 'effects',
  name: 'effects',
  component: routerPlaceholder,
  redirect: {
    name: "weather"
  },
  children: [{
    path: 'test',
    name: 'effecttest',
    component: () => import('@/views/effects/test/index.vue'),
    meta: {
      activeMenu: 'effecttest',
      title: '测试',
      icon: 'effecttest',
      affix: true
    }
  },{
    path: 'weather',
    name: 'weather',
    component: () => import('@/views/effects/weather/index.vue'),
    meta: {
      activeMenu: 'weather',
      title: '天气',
      icon: 'weather',
      affix: true
    }
  },{
    path: 'fog',
    name: 'fog',
    component: () => import('@/views/effects/fog/index.vue'),
    meta: {
      activeMenu: 'fog',
      title: '雾',
      icon: 'fog',
      affix: true
    }
  },{
    path: 'circleWave',
    name: 'circleWave',
    component: () => import('@/views/effects/CircleWave/index.vue'),
    meta: {
      activeMenu: 'circleWave',
      title: '圆形波纹',
      icon: 'circleWave',
      affix: true
    }
  },{
    path: 'radar',
    name: 'radar',
    component: () => import('@/views/effects/radar/index.vue'),
    meta: {
      activeMenu: 'radar',
      title: '雷达扫描',
      icon: 'radar',
      affix: true
    }
  },{
    path: 'animate',
    name: 'animate',
    component: () => import('@/views/effects/animate/index.vue'),
    meta: {
      activeMenu: 'animate',
      title: '动画',
      icon: 'animate',
      affix: true
    }
  },{
    path: 'dynPoint',
    name: 'dynPoint',
    component: () => import('@/views/effects/dynPoint/index.vue'),
    meta: {
      activeMenu: 'dynPoint',
      title: '动态扩散点',
      icon: 'dynPoint',
      affix: true
    }
  },{
    path: 'shiningMaterial',
    name: 'shiningMaterial',
    component: () => import('@/views/effects/shiningMaterial/index.vue'),
    meta: {
      activeMenu: 'shiningMaterial',
      title: '材质闪烁',
      icon: 'shiningMaterial',
      affix: true
    }
  },{
    path: 'dynWall',
    name: 'dynWall',
    component: () => import('@/views/effects/dynWall/index.vue'),
    meta: {
      activeMenu: 'dynWall',
      title: '动态立体墙',
      icon: 'dynWall',
      affix: true
    }
  },{
    path: 'flowMaterial',
    name: 'flowMaterial',
    component: () => import('@/views/effects/flowMaterial/index.vue'),
    meta: {
      activeMenu: 'flowMaterial',
      title: '流动纹理',
      icon: 'flowMaterial',
      affix: true
    }
  },{
    path: 'shaders',
    name: 'shaders',
    component: () => import('@/views/effects/shaders/index.vue'),
    meta: {
      activeMenu: 'shaders',
      title: '着色器',
      icon: 'shaders',
      affix: true
    }
  },{
    path: 'video',
    name: 'video',
    component: () => import('@/views/effects/video/index.vue'),
    meta: {
      activeMenu: 'video',
      title: '视频',
      icon: 'video',
      affix: true
    }
  },{
    path: 'spliter',
    name: 'layerSpliter',
    component: () => import('@/views/effects/layerSpliter/index.vue'),
    meta: {
      activeMenu: 'layerSpliter',
      title: '卷帘',
      icon: 'layerSpliter',
      affix: true
    }
  },{
    path: 'satelliteRadar',
    name: 'satelliteRadar',
    component: () => import('@/views/effects/satelliteRadar/index.vue'),
    meta: {
      activeMenu: 'satelliteRadar',
      title: '卫星雷达',
      icon: 'satelliteRadar',
      affix: true
    }
  }]
}

export default routers
